_photo.html.erb
<% form_for :photo  do |p| %>
	    <%= p.file_field :data  %>
<%= p.submit  " fffffffffff" %>
<% end %>

